package cc.mrbird.febs.item.dao;

import cc.mrbird.febs.item.domain.UserLikeItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

public interface UserLikeItemMapper extends BaseMapper<UserLikeItem> {
    @Delete("delete from user_item where user_id=#{userLikeItem.userId} and item_id=#{userLikeItem.itemId}")
    void deleteUserLike(@Param("userLikeItem") UserLikeItem userLikeItem);
}
